﻿namespace BlamanticUI.Components;

/// <summary>
/// Represents a breadcrumb to show hierarchy between <see cref="Section"/> content.
/// </summary>
[CssClass("breadcrumb")]
public class Breadcrumb : BlazorParentComponentBase<Breadcrumb>, IHasUIComponent, IHasInverted, IHasSize,IHasChildContent
{
    /// <summary>
    /// Gets or sets a value indicating whether adapted inverted background by parent component.
    /// </summary>
    [Parameter] public bool Inverted { get; set; }
    /// <summary>
    /// Gets or sets the size.
    /// </summary>
    [Parameter] public Size? Size { get; set; }
    /// <summary>
    /// A segment of UI content to render.
    /// </summary>
    [Parameter]public RenderFragment? ChildContent { get; set; }
}
